package com.xcity.pomelo.response;

import com.xcity.game.buildv2.BuildV2;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class AssistUnAssistResponse extends Response {
	private int buildid;
	private BuildV2.State state;
	private int money;
	public AssistUnAssistResponse(int serial, BuildV2 build, int money) {
		super(serial);
		this.buildid = build.getId();
		this.state = build.getState();
		this.money = money;
	}
	public int getBuildid() {
		return buildid;
	}
	public void setBuildid(int buildid) {
		this.buildid = buildid;
	}
	public BuildV2.State getState() {
		return state;
	}
	public void setState(BuildV2.State state) {
		this.state = state;
	}
	public int getMoney() {
		return money;
	}
	public void setMoney(int money) {
		this.money = money;
	}
}
